[INFO] fetching crate townhopper 0.1.1...
[INFO] testing townhopper-0.1.1 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479
[INFO] extracting crate townhopper 0.1.1 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate townhopper 0.1.1 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate townhopper 0.1.1
[INFO] finished tweaking crates.io crate townhopper 0.1.1
[INFO] tweaked toml for crates.io crate townhopper 0.1.1 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b67d896712b897b5a9c3399f0ce8fe9934e029499b65f9ff8a0b8363370b729c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b67d896712b897b5a9c3399f0ce8fe9934e029499b65f9ff8a0b8363370b729c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b67d896712b897b5a9c3399f0ce8fe9934e029499b65f9ff8a0b8363370b729c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b67d896712b897b5a9c3399f0ce8fe9934e029499b65f9ff8a0b8363370b729c", kill_on_drop: false }`
[INFO] [stdout] b67d896712b897b5a9c3399f0ce8fe9934e029499b65f9ff8a0b8363370b729c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f834fada1cfe63e0dfc2dbafaacde31f963401ccbcc91476e8b2ec189f86bb03
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f834fada1cfe63e0dfc2dbafaacde31f963401ccbcc91476e8b2ec189f86bb03", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling libsqlite3-sys v0.15.0
[INFO] [stderr]    Compiling chrono-tz v0.5.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling rusqlite v0.19.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling bstr v0.2.16
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling townhopper v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut rows = stmt.query(&[] as &[&ToSql])?;
[INFO] [stdout]    |                                         ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |         stmt.execute(&[&a.agency_id as &ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout]    |                                         ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 57 |         stmt.execute(&[&c.service_id as &ToSql,
[INFO] [stdout]    |                                          ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |         stmt.execute(&[&d.service_id as &ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout]    |                                          ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:79:40
[INFO] [stdout]    |
[INFO] [stdout] 79 |         stmt.execute(&[&r.route_id as &ToSql, &r.agency_id,
[INFO] [stdout]    |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |         stmt.execute(&[&s.stop_id as &ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout]    |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:101:39
[INFO] [stdout]     |
[INFO] [stdout] 101 |         stmt.execute(&[&t.trip_id as &ToSql,
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:113:40
[INFO] [stdout]     |
[INFO] [stdout] 113 |         stmt.execute(&[&t.route_id as &ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout]     |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:41:54
[INFO] [stdout]    |
[INFO] [stdout] 41 |     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:45:55
[INFO] [stdout]    |
[INFO] [stdout] 45 |     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     c.execute("BEGIN;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                   ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     c.execute("END;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 32.04s
[INFO] running `Command { std: "docker" "inspect" "f834fada1cfe63e0dfc2dbafaacde31f963401ccbcc91476e8b2ec189f86bb03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f834fada1cfe63e0dfc2dbafaacde31f963401ccbcc91476e8b2ec189f86bb03", kill_on_drop: false }`
[INFO] [stdout] f834fada1cfe63e0dfc2dbafaacde31f963401ccbcc91476e8b2ec189f86bb03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0d57f675c9833c37a0ec14f6b64d757becb89eff9e5475f40d0d72fd0f993be0
[INFO] running `Command { std: "docker" "start" "-a" "0d57f675c9833c37a0ec14f6b64d757becb89eff9e5475f40d0d72fd0f993be0", kill_on_drop: false }`
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut rows = stmt.query(&[] as &[&ToSql])?;
[INFO] [stdout]    |                                         ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |         stmt.execute(&[&a.agency_id as &ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout]    |                                         ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 57 |         stmt.execute(&[&c.service_id as &ToSql,
[INFO] [stdout]    |                                          ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |         stmt.execute(&[&d.service_id as &ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout]    |                                          ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:79:40
[INFO] [stdout]    |
[INFO] [stdout] 79 |         stmt.execute(&[&r.route_id as &ToSql, &r.agency_id,
[INFO] [stdout]    |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |         stmt.execute(&[&s.stop_id as &ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout]    |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling townhopper v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:101:39
[INFO] [stdout]     |
[INFO] [stdout] 101 |         stmt.execute(&[&t.trip_id as &ToSql,
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:113:40
[INFO] [stdout]     |
[INFO] [stdout] 113 |         stmt.execute(&[&t.route_id as &ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout]     |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:41:54
[INFO] [stdout]    |
[INFO] [stdout] 41 |     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:45:55
[INFO] [stdout]    |
[INFO] [stdout] 45 |     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     c.execute("BEGIN;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                   ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     c.execute("END;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut rows = stmt.query(&[] as &[&ToSql])?;
[INFO] [stdout]    |                                         ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:46:41
[INFO] [stdout]    |
[INFO] [stdout] 46 |         stmt.execute(&[&a.agency_id as &ToSql, &a.agency_name, &a.agency_timezone.name()])?;
[INFO] [stdout]    |                                         ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 57 |         stmt.execute(&[&c.service_id as &ToSql,
[INFO] [stdout]    |                                          ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:69:42
[INFO] [stdout]    |
[INFO] [stdout] 69 |         stmt.execute(&[&d.service_id as &ToSql, &conv::to_db_date(&d.date), &d.exception_type])?;
[INFO] [stdout]    |                                          ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:79:40
[INFO] [stdout]    |
[INFO] [stdout] 79 |         stmt.execute(&[&r.route_id as &ToSql, &r.agency_id,
[INFO] [stdout]    |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/import.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |         stmt.execute(&[&s.stop_id as &ToSql, &s.stop_name, &slug(&s.stop_name),
[INFO] [stdout]    |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:101:39
[INFO] [stdout]     |
[INFO] [stdout] 101 |         stmt.execute(&[&t.trip_id as &ToSql,
[INFO] [stdout]     |                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:113:40
[INFO] [stdout]     |
[INFO] [stdout] 113 |         stmt.execute(&[&t.route_id as &ToSql, &t.service_id, &t.trip_id, &t.direction_id,
[INFO] [stdout]     |                                        ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/db/import.rs:157:58
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let actual_count: i32 = stmt.query_map(&[] as &[&ToSql], |row| row.get(0))
[INFO] [stdout]     |                                                          ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:41:54
[INFO] [stdout]    |
[INFO] [stdout] 41 |     c.execute("PRAGMA foreign_keys = ON;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                      ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:45:55
[INFO] [stdout]    |
[INFO] [stdout] 45 |     c.execute("PRAGMA foreign_keys = OFF;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                                       ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     c.execute("BEGIN;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                   ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/db/mod.rs:53:33
[INFO] [stdout]    |
[INFO] [stdout] 53 |     c.execute("END;", &[] as &[&ToSql]).map(|_| ()).map_err(|e| e.into())
[INFO] [stdout]    |                                 ^^^^^ help: use `dyn`: `dyn ToSql`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/result.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let _: Box<Error> = Box::new(ThprError::Generic("Some error".into()));
[INFO] [stdout]    |                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/query/route.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |         assert_eq!(&routes.get("1".into()).expect("Route not found").short_name, "30");
[INFO] [stdout]    |                            ^^^ ---------- this method call resolves to `T`
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            cannot infer type for type parameter `Q` declared on the associated function `get`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `std::string::String: Borrow<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `townhopper` due to 2 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0d57f675c9833c37a0ec14f6b64d757becb89eff9e5475f40d0d72fd0f993be0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d57f675c9833c37a0ec14f6b64d757becb89eff9e5475f40d0d72fd0f993be0", kill_on_drop: false }`
[INFO] [stdout] 0d57f675c9833c37a0ec14f6b64d757becb89eff9e5475f40d0d72fd0f993be0
